package com.timeset.activity.entity;

import java.util.List;

public class Activities{
    private int id;
    private int organization_id;
    private String up_time;
    private int view_num;
    private String content;
    private String label;
    private List<Img> imgPathList;
    private int status;
    private Orgnat orgnat;
    private String title;
    private int isSetJoinNum;//是否设置参加人数
    private int userApplyStatus;//用户是否申请参加活动，若参加活动返回的结果，参加成功还是失败


    public int getOrganization_id() {
        return organization_id;
    }

    public void setOrganization_id(int organization_id) {
        this.organization_id = organization_id;
    }

    public String getUp_time() {
        return up_time;
    }

    public void setUp_time(String up_time) {
        this.up_time = up_time;
    }

    public int getView_num() {
        return view_num;
    }

    public void setView_num(int view_num) {
        this.view_num = view_num;
    }

    public int getUserApplyStatus() {
        return userApplyStatus;
    }

    public void setUserApplyStatus(int userApplyStatus) {
        this.userApplyStatus = userApplyStatus;
    }

    public int getIsSetJoinNum() {
        return isSetJoinNum;
    }

    public void setIsSetJoinNum(int isSetJoinNum) {
        this.isSetJoinNum = isSetJoinNum;
    }

    public Activities(){}
    public Activities(int organization_id,String up_time,int view_num,String content,String label,String title,int isSetJoinNum){
        this.organization_id=organization_id;
        this.content=content;
        this.label=label;
        this.up_time=up_time;
        this.view_num=view_num;

        this.title=title;
        this.isSetJoinNum=isSetJoinNum;

    }


    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Orgnat getOrgnat() {
        return orgnat;
    }

    public void setOrgnat(Orgnat orgnat) {
        this.orgnat = orgnat;
    }

    /* private Orgnaization orgnaization;

        public Orgnaization getOrgnaization() {
            return orgnaization;
        }

        public void setOrgnaization(Orgnaization orgnaization) {
            this.orgnaization = orgnaization;
        }
    */
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getOrganizationId() {
        return organization_id;
    }

    public void setOrganizationId(int organizationId) {
        this.organization_id = organizationId;
    }

    public String getUpTime() {
        return up_time;
    }

    public void setUpTime(String upTime) {
        this.up_time = upTime;
    }

    public int getViewNum() {
        return view_num;
    }

    public void setViewNum(int viewNum) {
        this.view_num = viewNum;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public List<Img> getImgPathList() {
        return imgPathList;
    }

    public void setImgPathList(List<Img> imgPathList) {
        this.imgPathList = imgPathList;
    }

    @Override
    public String toString() {
        return "Activities{" +
                "id=" + id +
                ", organization_id=" + organization_id +
                ", up_time='" + up_time + '\'' +
                ", view_num=" + view_num +
                ", content='" + content + '\'' +
                ", label='" + label + '\'' +
                ", imgPathList=" + imgPathList +
                ", status=" + status +
                ", orgnat=" + orgnat +
                ", title='" + title + '\'' +
                ", isSetJoinNum=" + isSetJoinNum +
                ", userApplyStatus=" + userApplyStatus +
                '}';
    }
}
